{template 'header'}
            <div class="row">
                <div class="col-md-12">
                    <div class="panel panel-default">
                        <div class="panel-body">
                            <form action="" method="post" class="form-horizontal form">
        <input type="hidden" name="token" value="{$_W['token']}">
            <table class="table-striped table-bordered table-hover dataTables-example table">
            <thead class="navbar-inner">
                <th>ID</th>
                <th>分类名称</th>
                <th>分类图片</th>
                <th>发布时间</th>
                <th>操作</th>

            </thead>
            <tbody id="level-list">
                {loop $list $index $item}
                <tr>
                    <td>
                        <div class="type-parent">{$item['type_id']}</div>
                    </td>
                    <td>
                        <div class="type-parent">{$item['type_name']}</div>
                    </td>
                    <td>
                        <div class="type-parent">
                            <img src="{php echo tomedia($item['type_logo']);}" width="60" height="60" />
                        </div>
                    </td>
                    <td>
                        <div class="type-parent">{$item['add_time']}</div>
                    </td>
                    <td>
                        <a href="{php echo webUrl('product/index/type_edit',array('type_id'=>$item['type_id']))}" title="编辑" class="btn btn-sm btn-primary"><i class="fa fa-edit"></i>编辑</a>
                        <a href="javascript:vord(0)" data-ajax="{php echo webUrl('product/index/type_del',array('type_id'=>$item['type_id']))}" title="确认删除？" class="btn btn-sm btn-danger btn-ajax"><i class="fa fa-remove"></i>删除</a>
                    </td>
                </tr>
                {/loop}
            </tbody>
           </table>        
                
            </div> 
            <div style="padding-top: 10px;float: right;">
                {$pager}
            </div> 
        </form>
                </div>
            </div><!--/.row-->

    {template 'footer'}